Added VDI.resize method.
authorEwan Mellor <ewan@xensource.com>
Thu, 26 Oct 2006 13:40:22 +0000 (14:40 +0100)
committerEwan Mellor <ewan@xensource.com>
Thu, 26 Oct 2006 13:40:22 +0000 (14:40 +0100)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
docs/xen-api/xenapi-datamodel.tex

index 1a1adb521c40ba85deb16b10d0943bf0f5605368..d11a2ec4c6d38ffef7e5ce0eef8a883353a87ad4 100644 (file)
@@ -7259,6 +7259,40 @@ VDI ref
 
 
 The ID of the newly created VDI.
+\vspace{0.3cm}
+\vspace{0.3cm}
+\vspace{0.3cm}
+\subsubsection{RPC name:~resize}
+
+{\bf Overview:} 
+Resize the vdi to the size.
+
+ \noindent {\bf Signature:} 
+\begin{verbatim} void resize (session_id s, VDI ref vdi, int size)\end{verbatim}
+
+
+\noindent{\bf Arguments:}
+
+\vspace{0.3cm}
+\begin{tabular}{|c|c|p{7cm}|}
+ \hline
+{\bf type} & {\bf name} & {\bf description} \\ \hline
+{\tt VDI ref } & vdi & The VDI to resize \\ \hline 
+
+{\tt int } & size & The new size of the VDI \\ \hline 
+
+\end{tabular}
+
+\vspace{0.3cm}
+
+ \noindent {\bf Return Type:} 
+{\tt 
+void
+}
+
+
+
 \vspace{0.3cm}
 \vspace{0.3cm}
 \vspace{0.3cm}